using System;
using System.Xml;
using System.Text;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.TextManager.Interop;
using Microsoft.VisualStudio.OLE.Interop;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.Designer.Interfaces;
using Microsoft.VisualStudio.Shell;
using IOleServiceProvider = Microsoft.VisualStudio.OLE.Interop.IServiceProvider;
using IServiceProvider = System.IServiceProvider;
using ShellConstants = Microsoft.VisualStudio.Shell.Interop.Constants;
using OleConstants = Microsoft.VisualStudio.OLE.Interop.Constants;

namespace MH.WsdlWorks
{
    /// <summary>
    /// This class is used for the events raised by a HierarchyNode object.
    /// </summary>
    internal class SimpleHierarchyNodeEventArgs : EventArgs
    {
        private SimpleHierarchyNode child;

        internal SimpleHierarchyNodeEventArgs(SimpleHierarchyNode child)
        {
            this.child = child;
        }

        public SimpleHierarchyNode Child
        {
            get { return this.child; }
        }
    }
}
